class CreateJobs < ActiveRecord::Migration
  def self.up
    create_table :jobs do |t|
      t.timestamps
      t.string :title, :null => false
      t.string :company, :null => false
      t.string :url, :null => false
      t.string :location, :null => false
      t.string :instructions, :null => false
      t.text :description,  :null => false

      t.integer :user_id
    end
  end

  def self.down
    drop_table :jobs
  end
end
